package com.stadium.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import com.stadium.bean.MatchToPlace;
import com.stadium.bean.Place;

public interface PlaceRepository extends JpaRepository<Place, Integer>{

	
	@Query("SELECT u FROM Place u where u.placeName Like %?1%")
	List<Place> findByplaceNameLike(String name);

}
